a = 10760 + 7000+13760+3840+640
b = 960+1600+16800+16000+640
print(a)
print(b)

zaibian = 10760 + 13760 + 640
feizaibian = 7000 + 3840
print(zaibian)
print(feizaibian)

print(zaibian+feizaibian)